package demo4.mapper;

import demo4.pojo.User;

import java.util.List;

public interface IUserMapper {
    int insert(User user);
    User selectByUserName(String username);
    User selectByUserNameAndPassword(String usrname, String password);

    int updata (User user);

    List<User> selectAll();
    int deleteByUsername(String username);
}
